 |
API Documentation
|
|
|
virtual void freezeComponentPainting(Component *component, bool value)=0
virtual ~ComponentUtils()
virtual void setComponentPosition(Component *component, float x, float y)=0
virtual void updateComponent(Component *component)=0
Offers many utilities to deal with the components, specialized for its windowing system.
Definition: ComponentUtils.h:12
virtual void setComponentLabel(Component *component, const nkMemory::StringView &label)=0
virtual void setComponentVisibility(Component *component, bool visibleOrNot)=0
virtual void setComponentEnabled(Component *component, bool enabledOrNot)=0
virtual void setComponentSize(Component *component, float width, float height)=0
virtual void setCursorPosition(nkMaths::Point absPos)=0
virtual void setComponentFocus(Component *component)=0
virtual bool isComponentEnabled(const Component *component)=0
virtual void setComponentDimensions(Component *component, float x, float y, float width, float height)=0
Base class for any graphical component.
Definition: Component.h:12
virtual bool isComponentInForeground(const Component *component)=0
virtual nkMaths::Point getScreenCoordFromComponentCoord(const Component *component, const nkMaths::Point &componentCoord)=0
Represents a 2D Point.
Definition: Point.h:12
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
virtual nkMaths::Rectangle getComponentSize(const Component *component)=0
virtual nkImages::Image paintToImage(Component *component, bool withFrame)=0
virtual nkMaths::Point getCursorPosition()=0
virtual nkMaths::Point getComponentCoordFromScreenCoord(const Component *component, const nkMaths::Point &screenCoord)=0
virtual nkMaths::Rectangle getScreenDimensions()=0
Represents a 2D rectangle.
Definition: Rectangle.h:12
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7
virtual nkMaths::Rectangle getComponentDimensions(const Component *component)=0
virtual bool getComponentVisibility(const Component *component)=0
virtual void setComponentInForeground(Component *component)=0
Holds all information required for an image, with ownership over the data.
Definition: Image.h:14